// 工作流公共方法
import { flowSubmit } from "@/utils/flow";
export const handleFlow = (flowData, variable, successCallBack) => {
  const { bizKey, flowKey, taskId, callbackUrl, idea, ideaMsg, flowType, isNext } = flowData;
  const flowObj = {
    bizKey,
    flowKey,
    taskId,
    callbackUrl,
    idea,
    ideaMsg,
    variable
  };
  flowSubmit(flowObj, successCallBack, flowType, isNext);
};
